namespace Velocity4Net.Runtime.Parse.AST
{
    using System;
    using Parser = Velocity4Net.Runtime.Parse.Parser;
    using InternalContextAdapter = Velocity4Net.Ctx.InternalContextAdapter;

    public class ASTTrue : SimpleNode
    {
        //UPGRADE_NOTE: Field value was renamed. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1029"'
        private static System.Boolean value_Renamed_Field = true;

        public ASTTrue(int id) : base(id) { }

        public ASTTrue(Parser p, int id) : base(p, id) { }

        public override bool Evaluate(InternalContextAdapter context)
        {
            return true;
        }

        public override System.Object GetValue(InternalContextAdapter context)
        {
            return value_Renamed_Field;
        }
    }
}
